## 整体工程
clean:
	rm -rf ./build/  ./dist/  ./target/


## py 工程
pyinit:
	python3  -m venv venv
pyrequirement:
	./venv/bin/pip install -r requirements.txt
pyfreeze:
	./venv/bin/pip freeze >  requirements.txt
pyinstall:
	./venv/bin/pyinstaller -F -y src/main/python/kafka_consumer_det.py  
	#./venv/bin/pyinstaller -F -y src/main/python/kafka_producer.py
java_package:
	mvn package 


## 计算环境
docker-flink:
	# flink Dashboard http://localhost:8081/
	# docker exec -it --user root flink_jobmanager_1 /bin/bash
	# nc -l -p 9999
	docker-compose -f docker/flink/docker-compose.yml  up
